package com.bawei.es.service;

import com.bawei.domain.query.DocDeleteReq;
import com.bawei.domain.query.DocQueryReq;
import com.bawei.domain.request.DocInfoReq;
import com.bawei.domain.request.DocUpdReq;

import java.util.List;
import java.util.Map;

public interface EsDocService {

    public  void createDoc(DocInfoReq docInfoReq);

    public  void deleteDoc(String id,String indexName);

    public  Object queryDoc(DocQueryReq docQueryReq);

    public void updateDoc(DocUpdReq docUpdReq);

    void deleteDocs(DocDeleteReq docDeleteReq);

    List<Map<String,Object>> selectDoc(DocQueryReq docQueryReq);
}
